package ntd.util.frame.storage.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "文件上传入参")
public class StorageInBO {

    @Schema(description = "渠道商id")
    @NotBlank
    private String channelBusinessId;

    @Schema(description = "存储桶名称")
    @NotBlank
    private String bucketName;

    @Schema(description = "文件标识")
    private String fileKey;

    /** 文件原始名称 */
    private String originName;

    /** 文件流 */
    private byte[] bytes;
}
